home *** CD-ROM | disk | FTP | other *** search
Text File | 1998-06-23 | 104.3 KB | 3,248 lines |
- <READOCS-FILE>
- <LEFT>
- <PRINT><PAGE><OFF>
- <PRINT><WINDOW><9><1><80><60><2><0>
- <PRINT><LINE><23><0><1>
- <PRINT><HEADER><Simply Soft's Full Pack 1.1 Docs>
- <READ><HEADER><Simply Soft's Full Pack 1.1 Docs>
- <CENTER>
- Simply Soft's (a part of Simpsoft Inc.) Full Pack 1.1
- Copyright 1994-97 By Bruce O'Banion
- A complete text graphic I/O engine for Turbo C/C++
-
- Turbo C 2.0 and Turbo C++ 1.0 copyright 1987-1990
- by Borland International Inc.
- MS-DOS 5.0 copyright 1991 by Microsoft Corp.
- MOU105 Copyright (C) 1990, 1991 by Dave Kirsch.
- Sharespell v3.1 copyright 1989-96 by Acropolis Software.
-
- This is an unregistered version of Full Pack
- <PRINT><LINE><1><44><205>
- <PRINT><PAGE><NEW>
- <PRINT><LINE><4><0><1>
- <PRINT><HEADER><Table of Contents>
- <READ><OFF>
- <PRINT><PAGE><OFF>
- Table of Contents
- <PRINT><LINE><1><17><205>
- <LEFT>
-
- The Simply Soft Story ............................. Page 1
- General Info ...................................... Page 2
- Support ........................................... Page 6
- Future ........................................... Page 7
- Quarks and Hints .................................. Page 8
- Version History ................................... Page 9
- Defines ........................................... Page 11
- Products:
- Simple Windows 1.7
- Functions:
- Window ................................ Page 13
- Menu .................................. Page 17
- Entry ................................. Page 19
- Print ................................. Page 22
- Screen ................................ Page 25
- Music ................................. Page 28
- Disk .................................. Page 29
- Init .................................. Page 31
- Mouse ................................. Page 32
- Font Edit 1.5
- Functions ................................. Page 35
- Executes .................................. Page 40
- VGA Edit 1.3
- Functions ................................. Page 41
- Executes .................................. Page 45
- Simple Mouse 2.3
- Functions ................................. Page 47
- Legal Stuff ....................................... Page 51
- Registration ...................................... Page 59
- <PRINT><PAGE><NEW>
- <PRINT><HEADER><Simpsoft Inc.>
- <CENTER>
- <READ><LINE><1><74><205>
- The Simply Soft Story
- <PRINT><LINE><1><21><205>
- <LEFT>
-
- The Simpsoft Inc. product line has been three years in the
- making. We were tired of of stack overflow, out of memory
- errors, and that madding search for that lost open file or
- hidden overstrike. So we decided to write a small static
- utility library in C/C++ that would take care of all that. Three
- years later, Simply Soft gave birth to Simple Windows and the
- rest of the Simply Soft family.
- Simply Soft is a DOS development and utility company aimed
- at the shareware developer. It is economical and user friendly.
- We have Five shareware and one free product at this time. All
- products are under $51 ,most are under $26 if not free
- (free, that's cheap), and a discount of 25 percent for all four
- utilities (Simply Windows 1.7, Font Edit 1.5, VGA Edit 1.3, and
- Simple Mouse 2.3). A $125 value for $100. Registration gets
- phone support (24 hour answering machine), email, and Discounts
- on upgrades are also offered. So check out your stuff and drop
- us a line.
-
- Sincerely,
- Bruce R. O'Banion
- Pres. Simpsoft Inc.
-
- <PRINT><PAGE><NEW>
- <PRINT><HEADER><General Info>
- <CENTER>
- <READ><LINE><1><74><205>
- General Info
- <PRINT><LINE><1><12><205>
- <LEFT>
- Full Pack 1.1 is a discounted package of all the Simply Soft
- I/O management utilities. All four products (Simple Windows 1.7,
- Font Edit 1.5, VGA Edit 1.3, and Simple Mouse 2.3) in one
- registration. A $125 value for $100 (%25 discount). The online
- docs all in one program.
- <CENTER>
- <READ><LINE><1><74><205>
- <PRINT><LINE><1><64><196>
- Simple Windows
- <READ><LINE><1><14><223>
- <PRINT><LINE><1><14><205>
- <LEFT>
-
- Simple Windows 1.7 is a text graphic orientated Turbo C/C++
- utility. The basic system used is file allocation with a static
- 18k buffering system. This system achieves a small static ram
- usage with virtually unlimited capacity. Literal thousands of
- windows, menus, forms, and songs can be used and the library will
- remain a static 18k ram usage. The libraries are small max 54k.
- The library contains window and menu management. Both screen and
- print form loads. Tone and cord music routines as will as a
- playsong function. There is also disk management for all opening
- and closing operations including pointers. Print management for 60
- line by 80 characters pages is also included as will as a
- makefile editor for the load files. There are two types of
- libraries, debug and no debug. Swinerrx.lib is the debug library
- and contains checks on parameters and files and displays error
- messages on screen. The error massage will appear and the
- function will abort. The massage will contain the parameters
- found bad, the function it is in and the number of the current
- window. Swinx.lib contains no error detection but will return
- error codes from the functions on file allocation. It is also
- smaller.
- All functions return 0 on success and 1 on failure except
- cursor hide/show All file allocations return -1 on end of file or
- _doserrno on all other fails. Printer functions _doserrno on
- failure,3 on time out, and biosprint stats for any other failure
- and 0 for success.
- SWSKDEF.H is the special key bios codes (F, ALT, PageUP/DN,
- CURSOR) and should be included if these are to be used.
- Makefile is the real heart of simple windows. It is the editor
- for constructing the call files. It has help screens for every
- function. All you have to do is cursor to the function and hit F1.
- A help screen will then appear.
- There are six types of files 5 are for the call files themselves
- (window, menu,screen forms, print forms, and songs). The sixth is
- the scheme file. It is for viewing your graphics for your entire
- program. The current scheme display is also used when creating
- windows and menus. All file types can be loaded at once so you can
- work with windows and menus or screens for a single program
- without reloading.
- When all your files are made they then can be call in the
- program saving much coding that would be required to build them
- in the program. This will make your program much smaller and also
- allows you to design your graphics with out using the compiler or
- ,if you use a graphic artist, knowing programing.
- I have included 3 conversion executes to change older Simple
- Windows files to the new format. Convwin and Convmen will convert
- old menu, help files and window files to the new format. They
- take one argument the file name of the file to convert. Convsng
- will convert the song files to the new format.
- Swtotext.exe and txttosw.exe will convert menu and help files
- to an ASCII text format for spell checking and back to Simple
- Windows format. Swtotxt.exe converts a file to ASCII text. It
- takes an argument of the file name to convert and gives it the
- extension .TXT. Txttosw.exe converts the file back to Simple
- windows format. It takes 2 arguments the text file to convert
- with the extension .TXT and the file name to restore to with
- extension (.MEN, .HLP, ect...). I've also included Mouse21
- functions lib. It's functions are almost the same as Simple
- Mouse 2.3 and have not been put into the online docs (fultut.exe)
- Any differences can be check with This documentation under Simple
- Windows 1.7 catagory mouse functions. I have also include
- ShareSpell 3.1 to do the spell checking. It is a separate
- shareware program and must be registered separately
- (see Sharespell docs).
- <CENTER>
- <READ><LINE><1><74><205>
- <PRINT><LINE><1><64><196>
- Font Edit
- <READ><LINE><1><9><223>
- <PRINT><LINE><1><9><205>
- <LEFT>
-
- Font Edit 1.5 is a full text graphic font management and editing
- program. It can display 4 text fonts plus 4 large fonts from
- them for a total of 8 fonts at once on the screen. Even with 8
- fonts full line draw capabilities are retained. All functions are
- easy to use and a full font editor with mouse/hotkey and help
- screens is included. There are four executes (loadfont.exe,
- dualon.exe, setpal.exe, makefont.exe) for use with system calls.
- To understand these functions some theory on dual fonts is
- needed. Each font is 255 characters with character 256 reserved.
- With dual fonts you have 510 characters to work with. Each
- character is a 8x16 pixel bitmap. Characters C0 through DF are the
- blend characters in VGA and will use the ninth bit. VGA characters
- are 9x16 pixel with the 9th bit the background color except for
- the blend characters which the 9th bit is the same as the 8th. EGA
- fonts are all the same (8x14).
- In dual font mode the intensity bit (attribute bit 3) selects
- witch font bank you use but it all so selects the foreground color
- from the palette registers. So for tow fonts to display in the
- same color both the high and low palette registers must be the
- same color.
- The palette register is 16 color registers. Register 0 through 7
- are the low intensity colors (background colors) and register
- 8 through 15 are high intensity colors (foreground colors). In
- dual font mode bank 0 font is displayed if the intensity bit is 0
- with the low intensity color and bank 1 font is displayed if the
- intensity bit is 1 with the high intensity color. This means that
- the low and high palette registers have to be set to the same
- color to display both fonts in the same color. So to display both
- fonts in yellow both palettes 6 and 14 must be set to color 63.
- The palette registers can be set to one of 64 colors from the DAC
- (0 through 63).
- Once you have set the palettes the lib will manage the attribute
- bit for the proper color. NOTE: the palette must be reset to the
- right colors when you exit. If you use the executes for font
- control you the programmer must keep track of the attribute bit.
- For color control and editing look for VGA11B.ZIP (Vgaedit 1.1B)
- a fine VGA color editor with over 256k color capacity. EGA will
- only use the first 64 colors in the DAC and is note changeable.
- With dual fonts there are 64 blend characters 32 (C0 through DF)
- in each bank. Only one set is needed for line draw leaving one
- set for something else. A 2x2 bit map requires 16 characters to
- produce every combination possible. Load_emulate loads this bit
- map combination into one of the banks in characters C0 through
- CF. These I use to produce the large fonts reproducing the bit
- map of the character you wish to display in a 4x8 character size.
- And to draw the clown found in the demo. Since any character is a
- 8x16 bit map you can with some editing produce drawings with the
- resolution of 160x50 pixels.
- With makefont I produce a multi font or two 96 character fonts
- in one bank. They are managed so that no line draw or blend
- characters are used and with the lib are as easy to use as just
- calling one of four fonts and will all (4 standard and 4 large)
- display at once.
- The palette needs to be blocked from resetting to default
- colors in there is a mode reset. This is done with enable_reset()
- or resetpal.exe.
- Init_multi_font() will set up and manage all dual font modes
- with one function. It loads both font banks and the palette and
- sets the palette to the 8 upper colors. With this function you
- can code and not worry about the colors not being right in your
- program.
- <CENTER>
- <READ><LINE><1><74><205>
- <PRINT><LINE><1><64><196>
- VGA Edit
- <READ><LINE><1><8><223>
- <PRINT><LINE><1><8><205>
- <LEFT>
-
- VGA EDIT 1.3 is a full VGA color editor and management utility
- for DOS and Turbo C/C++. All palette and DAC register settings
- can be edited and saved to files which are easily loaded with a
- single call. This allows you (the developer) to use the complete
- color capabilities of VGA in text graphics modes. You can get 16
- out of over 256k color combinations. The color scheme of you
- product and literally change with every key stroke giving you true
- graphics color with the speed of text and smallness of text
- graphics.
- The editor (vgaedit.exe) is full mouse,cursored and hotkeyed
- for friendly use. All functions have help screens called by F1.
- All file overwrites are prompted and backed up.
- A note about VGA color. EGA color is restricted to The first
- 64 DAC registers and these are set and not changeable. In vga
- color the DAC registers as well as the palette registers can be
- changed. In VGA the DAC registers can be set to over 256,000
- different settings giving you 16 out of over 256,000 colors and
- the DAC as well as the palette can be saved for easy management
- of multiple color schemes in plain DOS text graphics mode.
- <CENTER>
- <READ><LINE><1><74><205>
- <PRINT><LINE><1><64><196>
- Simple Mouse
- <READ><LINE><1><12><223>
- <PRINT><LINE><1><12><205>
- <LEFT>
-
- Simple Mouse v2.3 is designed to work with the rest of The
- Simpsoft Inc. family or as a stand alone C/C++ lib for mouse
- control. It has a true graphics cursor that is changeable and no
- interrupt handler. The cursor uses ASCII characters 0xdc - 0xdf.
- Using only four characters for the cursor requires a smaller
- cursor character (6x14 in VGA and 6x12 in EGA). With registaration
- you will get a special editor formated for EGA and VGA to make
- these fonts. I give you eight of these in moucurs.fnt.
- Position is returned in both text graphic X and Y and pixel. Plus
- with no handler abnormal termination will not lock your machine.
- <CENTER>
- <READ><LINE><1><74><205>
- <PRINT><LINE><1><64><196>
- <LEFT>
-
- Installation is easy just unzip FULPAC11.ZIP and from that
- directory or disk type install at the prompt. Then follow the
- instructions. Full Pack can be deinstalled just as easy.
- Again use install.exe from the distribution disk or if zipped
- unzip to a temp directory and run from there. Fullpack.doc can be
- read or printed with readocs.exe. It is a text file reader/printer
- and will read or print a text file.
-
- This program and utility were compiled on a 386 clone with the
- 286 instruction set. It requires a 286 PC or compatible DOS 4.1
- or higher,MS mouse, and EGA or higher (VGA for some
- functions). A 9 pin dot matrix is needed to print the docs.
-
- Feel free to call me or leave a note of criticism or praise
- about this or any other Simpsoft product. Any feedback will be
- greatly appreciated. See Support.
-
- <PRINT><PAGE><NEW>
- <PRINT><HEADER><Support>
- <CENTER>
- <READ><LINE><1><74><205>
- Support
- <PRINT><LINE><1><7><205>
- <LEFT>
-
- I will be available for tech support at this address:
-
- Bruce R. O'Banion
- RT 1 Box 148A
- Pauls Valley,OK 73075
-
- Phone: 405-665-4042 (24hr answer machine)
- 405-665-4047 (24hr answer machine)
-
- Or on the internet simplyst@telepath.com
-
- Home page: http://www.telepath.com/simplyst/homepage.htm
-
- <PRINT><PAGE><NEW>
- <PRINT><HEADER><Future>
- <CENTER>
- <READ><LINE><1><74><205>
- The Future
- <PRINT><LINE><1><10><205>
- <LEFT>
-
- Simply Soft is a new approach to some of the headaches of
- shareware development and packaging. I have designed a line of
- development utilities and libraries for some of the redundant and
- code hungary I/O management and control. Soon I will have these
- and more in other languages and as a single package. Early in 97
- I will release a complete Install/deinstall and document package
- that will give you ASP specs in those areas with just a few text
- files you make on a simple ASCII editor. With these and a DIZ/DOZ
- file editor you as the sharewarer will have all the tools and
- user friendly editors to produce your own quality (ASP standards)
- programs.
- I plan for more music cords and styles, 4 screens modes, a
- better makefile editor, more entries like float and double. I
- am also working on a full screen editor as a single call. There
- will be complete window management, editing, and moves. Last but
- not least more ASM code for speed and size and more.
- I will have better emulation (maybe 264x172 or 160x100) and
- tall fonts as well as multiple sizes with emulation coming.
- Graphics printing with bitmaps made from screen fonts is also
- in the works.
- This and other Simply Soft utilities are going to be combined
- into a complete I/O management system with all graphics control
- in one easy editor so your full graphics scheme (color, screens,
- menus, forms, songs, and fonts) can be edited and viewed together
- for complete management system.
- If you have any suggestions on these products or future products
- drop me a line. If you what to keep up with our development and
- get full details on our products and future ones visit my homepage
- (see support for address).
-
- For other products and news see my webpage at:
-
- http://www.telepath.com/simplyst/homepage.htm
- <PRINT><PAGE><NEW>
- <PRINT><HEADER><Quarks and Hints>
- <CENTER>
- <READ><LINE><1><74><205>
- Quarks and Hints
- <PRINT><LINE><1><16><205>
- <LEFT>
-
- SIMPLE WINDOWS:
- When compiling small debug library a text overflow may occur.
- Change to the large debug library and compile tell error free
- then try the small nondebug library.
-
- Makefile:
- When using the screen editor layout all the coordinates on
- graph paper then enter them as you have laid them out.
-
- Make all windows and menus in order (window 0,menu 1,window
- 1, menu 2, ect ...(windows start at 1 and menus start at 0).
- This will show your scheme as it will appear in your program.
-
- For songs also lay them out on paper then enter them.
-
- The makefile menu editor will not show a blank line unless
- it has two or three spaces in it.
-
- Mouse 23:
- A debugging tip with Mouse23 is shown in simptut.c. Make
- mou_switch = 0 after mouse is installed and OR it equal to
- zero with bioskey(1). This will make the loop stop and look
- for key entry at the bioskey(0) call.
-
- If the mouse positions in pix do not return correctly
- moureset() can be used to correct this. Some interrupts
- will cause this to happen.
-
- The mouse functions are Micro Soft Mouse or compatible.
-
- Font Edit 1.5:
- Write_win_bank() will only work with standard single fonts
- loaded and write_win_multi() will only work with special multi
- fonts made with makefont.exe. This is why in the tutor you
- will see the registration reminder messed. It works only with
- single fonts and is in the enable_double_font and dualon.exe
- functions.
- <PRINT><PAGE><NEW>
- <PRINT><HEADER><Version History>
- <CENTER>
- <READ><LINE><1><74><205>
- Simple Windows History
-
- <LEFT>
- Version 1.0
- Basic functions and first release.
- 6/10/94
- Version 1.1
- Bug fixes to functions and additional functions.
- 12/3/94
- Version 1.2
- Bug fixes, Additions to online docs.
- 2/21/95
- Version 1.3
- Addition of Readocs.exe and ASP exceptence.
- Addition of swloadft.exe
- 4/12/96
- Version 1.4
- ASP specs fixes and repackaging.
- 6/12/96
- Version 1.5
- Bug fixes to makefile and upgrade of Readocs.exe
- 12/2/96
- Version 1.6
- More fixes to makefile.exe
- 3/10/97
- Version 1.7
- Upgrade of formating and buffering system.
- addition of conversion files and ShareSpell.
- 7/2/97
- <CENTER>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- Font Edit History
-
- <LEFT>
- Version 1.0 :
- First release.
- 4/20/96
- Version 1.1:
- Added libs
- 8/13/96
- Version 1.2
- Bug fixes in Libs and editor.
- 2/2/97
- Version 1.3
- Added to libs.
- 4/23/97
- Version 1.4
- Bug fix in editor for Ziff-Davis Shareware Awards.
- It was late.
- 5/13/97
- Version 1.5
- Upgrade in Simple Windows libs recompiled. Upgrade to
- Readocs.exe. Bug fixes to editor load.
- 7/1/97
- <PRINT><PAGE><NEW>
- <CENTER>
- <READ><LINE><1><74><205>
- VGA Edit History
-
- <LEFT>
- Version 1.0 :
- First release.
- 4/20/96
- Version 1.1:
- Added libs
- 8/13/96
- Version 1.2
- Bug fixes in Libs and editor.
- 4/1/97
- Version 1.3
- Upgrade in Simple Windows libs recompiled. Upgrade to
- Readocs.exe. Bug fixes to editor load.
- 7/1/97
- <CENTER>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- Simple Mouse History
-
- <LEFT>
- Version 2.0:
- First release be came mou92 in Simpwn93 Freeware.
- 5/23/95
- Version 2.1
- Added changeable cursor
- distribute with Simple Windows
- 8/9/95
- Version 2.2
- Added True graphics cursor.
- 4/3/96
- Version 2.3
- Bug Fixes and added Dual font capabilities.
- 4/23/97
- <PRINT><PAGE><NEW>
- <PRINT><HEADER><Defines>
- <CENTER>
- <READ><LINE><1><74><205>
- Defines
-
- Special key defines:
- <LEFT>
- ESC 283 F1 15104 ALT_F1 26624 SHIFT_TAB 3840
- PGDN 20736 F2 15360 ALT_F2 26880 BACKSPACE 3592
- PGUP 18688 F3 15616 ALT_F3 27136 DEL 21248
- CURSOR_UP 18432 F4 15872 ALT_F4 27392 TAB 3849
- CURSOR_DN 20480 F5 16128 ALT_F5 27648
- CURSOR_LEFT 19200 F6 16384 ALT_F6 27904
- CURSOR_RIGHT 19712 F7 16640 ALT_F7 28160
- ENTER 7181 F8 16896 ALT_F8 28416
- HOME 18176 F9 17152 ALT_F9 28672
- END 20224 F10 17408 ALT_F10 28928
-
- ALT_A 7680 ALT_B 12288 ALT_C 11776 ALT_D 8192
- ALT_E 4608 ALT_F 8448 ALT_G 8704 ALT_H 8960
- ALT_I 5888 ALT_J 9216 ALT_K 9472 ALT_L 9728
- ALT_M 12800 ALT_N 12544 ALT_O 6144 ALT_P 6400
- ALT_Q 4096 ALT_R 4864 ALT_S 7936 ALT_T 5120
- ALT_U 5632 ALT_V 12032 ALT_W 4352 ALT_X 11520
- ALT_Y 5376 ALT_Z 11264
- <CENTER>
- Other Defines:
- <LEFT>
-
- boarder: shadow style: shadow location:
-
- NO_BOARDER 0 NO_SHADOW 0 LOWER_LEFT 1
- SINGLE_BOARDER 1 NARROW_SHADOW 2 UPPER_LEFT 2
- DOUBLE_BOARDER 2 WIDE_SHADOW 1 LOWER_RIGHT 3
- SIG_DUB_BOARDER 3 UPPER_RIGHT 4
- DUB_SIG_BOARDER 4
- ANY_BOARDER 5 word defines:
-
- note defines: ON 1
- OFF 0
- _A 1 _Bb 2 _B 3 _C 4 YES 1
- _Cs 5 _D 6 _Eb 7 _E 8 NO 0
- _F 9 _Fs 10 _G 11 _Ab 12 EOF -1
-
- cord type defines:
-
- _MAJOR 1 _MINOR 2 _MAJOR_7TH 3
- _7TH 4 _MINOR_7TH 5 _MAJOR_9TH 6
- _6TH 7 _MINOR_6TH 8 _9TH 9
- _MINOR_9TH 10 _AUGMENTED 11 _DIMINISHED 12
-
- Simple Mouse 2.3 Mouse 2.1
-
- LEFTBUTTON 0 LEFTBUTTON 0 BLINKCUR 0x8000
- RIGHTBUTTON 1 RIGHTBUTTON 1 INVERSCHAR 0x3300
- MIDBUTTONT 2 MIDBUTTONT 2 GRAPHICCUR 0x00ff
- STANDARDCUR 0
- <PRINT><PAGE><NEW>
- <CENTER>
- EGA color defines
- <PRINT><LINE><1><17><205>
-
- C_BLACK 0 C_BLUE 1
- C_GREEN 2 C_CYAN 3
- C_RED 4 C_MAGENTA 5
- C_LIME 6 C_LIGHT_GRAY 7
- C_DARK_PURPLE 8 C_BRIGHT_BLUE 9
- C_LIGHT_GREEN 10 C_PALE_CYAN 11
- C_ROSE 12 C_PALE_PURPLE 13
- C_PEA_GREEN 14 C_PALE_MAGENTA 15
- C_FOREST_GREEN 16 C_INDIGO 17
- C_BRIGHT_GREEN 18 C_PALE_GREEN 19
- C_BROWN 20 C_LIGHT_MAGENTA 21
- C_BRIGHT_GREEN_2 22 C_PALE_GREEN_2 23
- C_DARK_GRAY 24 C_LIGHT_BLUE 25
- C_BRIGHT_GREEN_3 26 C_LIGHT_CYAN 27
- C_RED_BROWN 28 C_PALE_MAGENTA_2 29
- C_BRIGHT_GREEN_4 30 C_BRIGHT_CYAN 31
- C_DARK_RED 32 C_DARK_INDIGO 33
- C_GREEN_2 34 C_CYAN_2 35
- C_BRIGHT_RED 36 C_BRIGHT_MAGENTA 37
- C_ORANGE_YELLOW 38 C_MELLON 39
- C_DARK_PURPLE_2 40 C_BLUE_2 41
- C_GREEN_3 42 C_SKY_BLUE 43
- C_BRIGHT_RED_2 44 C_BRIGHT_MAGENTA_2 45
- C_TAN 46 C_PINK 47
- C_FOREST_GREEN_2 48 C_BLUE_GRAY 49
- C_BRIGHT_GREEN_5 50 C_PALE_GREEN_3 51
- C_RED_ORANGE 52 C_DARK_PINK 53
- C_LIME_YELLOW 54 C_PALE_YELLOW 55
- C_DARK_GRAY_2 56 C_BLUE_3 57
- C_GREEN_4 58 C_PALE_CYAN_2 59
- C_LIGHT_RED 60 C_PALE_MAGENTA_3 61
- C_YELLOW 62 C_WHITE 63
-
- <PRINT><PAGE><NEW>
- <CENTER>
- <READ><LINE><1><74><205>
- <PRINT><OFF>
- Simple Windows 1.7
- <READ><LINE><1><18><223>
- <PRINT><HEADER><Simple Windows 1.7>
- Windows Functions
- <READ><LINE><1><17><223>
- <PRINT><LINE><1><17><205>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- simp_window()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Simp_window() is the basic window function. It dose not mask
- so what is on screen a the time of call is lost. If you study the
- simptut code you will see that I use simp_window() as a base
- window and with mouse along with a screen save.
- The parameters for this function are the corner coordinates
- left, top, right, bottom. The boarder and shadow styles are next.
- Then come the text attributes foreground and back ground. Next is
- the shadow location. After that come the shadow attributes fore
- and back. Last the boarder character if needed and the fill
- character.
- The window coordinates are from 1 to 80 for left and right and
- 1 to 25 for top and bottom. Boarder styles are 0 through 5: 0 for
- no boarder, 1 for single, 2 for double, 3 and 4 for single/double
- line, and 5 for any ASCII character boarder. Shadow style are 0
- through 3: 0 for no shadow, 1 for wide shadow, and 3 for narrow
- shadow.
- Color attributes for text and shadows are standard text colors
- 0 to 15. Colors 8 to 15 in the back ground set the blink bit. The
- shadow locations are 1 to 4 (see simpwn12.h for defines). And last
- the borader and fill characters are any ASCII code 0 through 255.
-
- Example:
-
- simp_window(20,5,60,20,5,2,14,4,1,8,0,170,190);
-
- This will display a window 40 x 15 with a boarder of character
- 190 with a narrow shadow with yellow text on a red background.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- popup_window()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Popup_window() is the basic mask window call. It has the same
- parameters as simp_window() except for the first one and that is
- the record or file number. This call will not error if the file
- number is greater than the number of windows initialized but
- after the maxed initialized they must be called in sequence or the
- wrong file number will be saved. Once called it can be called then
- in any sequence. Popup_window() should be called only for windows
- that are not made either by makefile or make_window() since it
- will change the parameters saved for that window. The file number
- can be defined as a name (est. QUIT_WIN) using a define statement.
-
- Example:
- Popup_window(31,20,10,60,12,1,2,7,0,1,8,0,0,0);
-
- This will display window 31 that is 40 x 3 with a single
- boarder, narrow shadow and lightgray characters on a black
- background.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <PRINT><PAGE><NEW>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- make_window()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Make_window() is a nondisplay call and has the same
- parameters as popup_window(). It is used to make a window in the
- program rather than in the makefile. It only saves the parameters
- to a file number and call_window must be used to display the
- window. This call will error if the file number is greater than
- the max number of windows initialized.
-
- Example:
- make_window(3,20,10,60,15,1,2,15,1,1,8,0,0,0);
-
- This call will make a window in the win.dat file at record 3
- that is 40 x 6 with a single boarder, narrow shadow, and
- white characters on a blue background.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- call_window()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Call_window() displays a already made window. It has only one
- parameter the file number. It will error if the file number
- exceeds the max windows initialized. Call_window can be call at
- any time for a window already created with make_window() or
- MAKEFILE. If it is called more than once with out an
- uncall_window() the masking info will be lost and only the last
- calls mask is saved. This will be improved in the upgrade so that
- no info is lost and calls can be make at any time with out worry.
-
- Example:
- call_window(4);
-
- This will call window 4 from the win.dat file.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- uncall_window()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Uncall_window() restores the screen info save by the last call
- to call_window() for a particular file number. It has like
- call_window() only one parameter the file number.
-
- Example:
- uncall_window(4);
-
- This will uncall window 4.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <PRINT><PAGE><NEW>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- unpopup_window()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- unpopup_window() is the uncall function for popup_window and
- acts the same. It has only one parameter, the file number.
-
- Example:
- unpopup_window(31);
-
- This will unpopup window 31.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- clear_window()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Clear_window() will clear and fill the current window with the
- fill character. This can be any ASCII code character.
-
- Example:
- clear_window(0);
-
- This will fill the current window with null or space characters
- leaving the boarder untouched.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- move_window()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Move_window() will move the current window's lefttop corner to
- the new x, y coordinates. If the window moves off of the screen
- the function fails and no move is made.
-
- Example:
- move_window(10,10);
-
- This moves the current window ,text and all, to the new topleft
- setting.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- load_win_data()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Load_win_data loads a file made by makefile so it can be used
- by call_window(). It has a single parameter, the file name as a
- string to be loaded. This function loads a file to the window file
- path chosen with init_window().
-
- Example:
- load_win_data("c:\tc\simptut.win");
-
- This will load simptut.win (make with makefile) from directory
- tc to win.dat.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <PRINT><PAGE><NEW>
- <PRINT><LINE><1><64><196>
- write_window()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Write_window() is like printf but has positioning parameters.
- It will fail and abort if a character is out side of the boarder
- of the current win.
-
- Example:
- char name[20] = "bruce";
-
- write_window(3,5,"My name is % s",name);
-
- This will display 'My name is bruce' at 3,5 of the current
- window.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <PRINT><PAGE><NEW>
- <READ><LINE><1><74><205>
- Menu Functions
- <READ><LINE><1><14><223>
- <PRINT><LINE><1><14><205>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- make_menu()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Make_menu() is a nondisplay function to create menus in
- program. It has 3 parameters, file number, line count, and a
- string for each line. File number is the record number for the
- menu file. This is the record or file number used to save the menu
- and to call it. Line count is the number of lines in the menu.
- This tells how many strings there are to the menu. The max number
- of lines in a menu are 23 of 76 characters each.
-
- Example:
- make_menu(2,5,"string 1","string 2","string 3","string 4",
- "string 5");
-
- This will make a menu with strings 1 through 5 and store it in
- position 2 in menu.dat.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- load_menu_text()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Load_menu_text() loads the menu file make with makefile into
- the menu data file. It has one parameter, a string for the path
- and name of the file to be loaded.
-
- Example:
- load_menu_text("simptut.men");
-
- This will load simptut.men (make with makefile) into menu.dat.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- call_menu()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Call_menu() displays the menu called by the parameter
- file_num. There are 3 parameters to this call, file number, X
- coordinate, and Y coordinate. The file number is the record number
- for the menu in the menu data file. X and Y coordinates are the
- upper left location in the current window to start displaying the
- menu.
-
- Example:
- call_menu(2,3,3);
-
- This will call menu 2 from menu.dat and display it in the
- current window starting at coordinates 3, 3.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <PRINT><PAGE><NEW>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- load_text()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Load_text() displays a screen of text 22 lines by 76
- characters max. It displays at coordinates 3,3 of the current
- window. There are to parameters fine number and file name. File
- number is the record number of the text screen to display and
- file name contains the path and name of the text file. The text
- files are the same as the menu files but are used for help
- screens. They are also made the same as menu files with makefile.
-
- Example:
- load_text(2,"c:\tc\stuttext.men");
-
- This will display text screen 2 from stuttext.men (made with
- makefile) in the current window.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <PRINT><PAGE><NEW>
- <READ><LINE><1><74><205>
- Entry Functions
- <READ><LINE><1><16><223>
- <PRINT><LINE><1><16><205>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- get_choice()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Get_choice() is a boolean function in that it returns a 1 for
- true or yes and 0 for false or no. There are three parameters, X
- and y coordinates for cursor and default display positioning in
- the current window and the default character. This is either T or
- F or Y or N. It returns 2 on failure.
-
- Example:
- get_choice(20,3,"Y");
-
- This call will display a Y at coordinates 20, 3 and wait for a
- return or a y or n and return.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- get_int_date()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Get_int_date() gets the date in MM/DD/YY format. There are 3
- parameters in this function, a 3 int array for the date and X and
- Y coordinates for positioning in the current window. Array[0] is
- the month, array[1] is the day, and array[2] is the year.
-
- Example:
- int date[3];
-
- get_int_date(date,20,3);
-
- This call will display the contents of date in the format
- date[0]/date[1]/date[2] at 20,3 in the current window and
- wait for data entry and return.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- get_int()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Get_int() is a intiger entry and takes a pointer to int, the
- number of digits including the sign, and X and Y coordinates.
- Valid digit lengths are 1 to 6 with overflow detection. X Y
- coordinates are again for current window placement of display.
-
- Example:
- int number;
-
- get_int(&number,4,3,3);
-
- This call will display the contents of number at coordinates
- 3,3 and wait for 4 digit entries including - and exit on esc
- or return.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <PRINT><PAGE><NEW>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- get_string()
- <CENTER>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Get_string is a standard string entry. It has backspace with
- no cursor or insert. It is masked and formated. It's parameters
- are:pointer to string, a mask string, a format string, X and Y
- coordinates, Mask strip switch, and default display switch. The
- mask string is any ASCII character for and space for a mask, The
- format string is made up of spaces where masked and format
- characters (see edit_string()) for entries. Both mask and format
- must be consistent for proper function. Error detection is in the
- debug lib but masked characters and entries must match. The strip
- switch is ON for stripping the mask form entry and 0 for the
- masks inclusion in entry. The default display switch is ON or 1
- to display what is in the enter string and OFF or 0 for no display
- and mask display. The x y coordinate are for display placement in
- the current window. It returns 27 on ESC.
-
- Example:
- char name[10];
-
- get_string(name," ","uAAAAAAAA",3,3,1,1);
-
- This call will display the contents of name at coordinates 3,
- 3, mask all but alpha characters and force an upper case on the
- first entry. It will strip the mask and if any character but
- backspace is hit first clear name. It will exit on esc with no
- data change or return.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- edit_string()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Edit_string() is a full field edit using insert or overstrike.
- The left and right cursor keys are active as are HOME and END.
- Any special key such as F keys, ALT keys, PGUP/PGDN, or UP/DN
- cursor keys are return by the function with the edit string saved.
- This allows edit_string to be used in a full screen editor (see
- simptut demo). The defines for the special keys are in swskdef.h
- and should be an include if you use this function. The parameters
- are, a pointer to a string, a format string of format characters,
- X and Y coordinates for the display of the string in the current
- window, and a string of special key masking characters. Format
- characters allow only certain characters to be entered and special
- key mask block the use of certain special keys.
-
- Example:
- char name[10];
-
- edit_string(name,"*********",3,3,"TCAFP");
-
- This call displays the contents of name at coordinates 3, 3
- and will mask out tabs,up/dn cursor,up/dn page,F and ALT keys
- and control characters. The contents of name can be edited with
- insert/overstrike and left/right cursor
- <PRINT><LINE><1><64><196>
- <CENTER>
- <READ><LINE><1><74><196>
- <PRINT><LINE><1><64><196>
- Format Characters
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><196>
- <LEFT>
- Format characters: Special key masks
-
- * any ascii character T mask out TAB keys
- A alphanumeric character A mask out ALT key
- U upper case alpha only F mask out function keys
- L lower case alpha only C mask out CTRL key
- u forced upper case alpha P mask out printer
- l forced lower case alpha characters
- 9 digits 0 - 9 only U mask out UP/DN cursor
- F digits 0 - 9, -, . only and PGUP/PGDN keys
- e digits 0 - 9, -, ., e, E only PGUP/PGDN keys
- # digits 0 - 9 and - E mask out ESC key
- h digits 0 - 9, a,b,c,d,e.f,A,B,C,D,E,F,- only
- o digits 0 - 7,- only
- T t, T, f, F only
- Y y, Y, n, N only
- <CENTER>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- get_long()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Get_long is the same as get_int() only it takes a pointer to
- long. It,s valid digit length is 1 to 10.
-
- Example:
- long int Lnumber;
-
- get_long(&Lnumber,8,3,2);
-
- This call acts the same as get_int except it takes a long.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <PRINT><PAGE><NEW>
- <READ><LINE><1><74><205>
- Print Functions
- <READ><LINE><1><15><223>
- <PRINT><LINE><1><15><205>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- print_printf()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Print_printf() is just like printf() but it goes to a print
- buffer and has the first to parameters, X and Y coordinates, for
- placement on the print page The print page is a 60 line by 80
- character buffer that is printed by print_buff().
-
- Example:
- int variable = 26;
-
- print_printf(20,25,"Number is % d",variable);
-
- This call will load Number is 26 into the print buffer at
- coordinates 20, 25.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- print_putch()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Print_putch(), like print_printf, is the same as putch(). The
- first two parameters, which are X and Y coordinates, are for
- placement. It is used for single character placement such as line
- feeds or carriage returns in the print page and can also be used
- for fancier graphic designs.
-
- Example:
- print_putch(80,30,0x0d);
-
- This call will put character 0x0d at coordinates 80,30 in the
- print buffer.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- print_horizontal_line()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Print_horizontal_line has six parameters. The first three are
- the start, middle, and end characters of the line. These are any
- ASCII character 0 to 255. The last three parameters are the start
- X, end X, and y coordinates. X can be 1 to 80 but the start must
- be greater than or equal to the end. Y can be 1 to 60. It like all
- the print functions is loaded into the page buffer.
-
- Example
- print_horizontal_line(0xc7,0xc4,0xb6,1,80,20);
-
- This call puts a line 80 characters long in row 20 of the print
- buffer.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <PRINT><PAGE><NEW>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- print_vertical_line()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Print_vertical_line has six parameters. The first three are
- start, middle and end characters of the line. These are any ASCII
- characters 0 to 255. The last three parameters are X, start Y, end
- Y. X can be 1 to 80, y is 1 to 60. This is loaded into the page
- buffer for printing later.
-
- Example:
- print_vertical_line(0xd2,0xba,0xd0,40,1,60);
-
- This call puts a vertical line in column 40, 60 characters long
- in the print buffer.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- print_window()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Print_window() draws a window in the page buffer. It has the
- four window parameters left, top, right, bottom. It also has the
- boarder style and boarder character for ANY_BOARDER. The boarder
- styles are the same as simp_window() and the characters are any
- ASCII code 0 to 255. Windows can be as large as the whole page or
- 80 x 60.
-
- Example:
- print_window(1,1,80,60,2,0);
-
- This call puts a window 80x60 with a double boarder in the
- print buffer.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- clear_print_buff()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Clear_print_buff clears the page buffer and loads it with the
- ASCII code 0x20. It is used when a new form is to be made.
-
- Example:
- clear_print_buff();
-
- This call clears the print buffer.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- print_buff()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Print_buff sends the contents of the page buffer to the printer.
- All 60 lines will be printed unless you insert a NULL (0x00)
- character in the page buffer. If a NULL character is encountered
- or all 60 lines are printed the printing will stop and the
- function will return.
-
- Example:
- print_buff();
-
- This sends what is current in the print buff to the printer.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <PRINT><PAGE><NEW>
- <READ><LINE><1><74><205>
- <PRINT><LINE><1><64><196>
- load_form()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Load_form() is for loading a premade print form made with
- makefile into the page buffer. It then can be further edited and
- printed. The record number and path/filename are the parameters.
-
- Example:
- load_form(0,"simptut.prn");
-
- This call will load print form 0 from simptut.prn (make with
- makefile) to the print buffer.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- print_char()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Print_char() sends a character to the printer and prints it. It
- takes a ASCII character code 0 thru 255.
-
- Example:
- print_char(0x0c);
-
- This will send a form feed to the printer.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <PRINT><PAGE><NEW>
- <READ><LINE><1><74><205>
- Screen Functions
- <READ><LINE><1><16><223>
- <PRINT><LINE><1><16><205>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- draw_horizontal_line()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Draw_horizontal_line() will put a horizontal line stating at
- start_x, y and end on end_x, y. The three character parameters
- are: start, middle, end. These can be any ASCII code character.
-
- Example:
- draw_horizontal_line(0x101,0x102,0x103,3,50,10);
-
- This will draw a line (ABBBBBB...BBBBBBBC) at 3,10 to 50,10.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- draw_vertical_line()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Draw_vertical_line() is the same as horizontal line except it
- takes x, start_y,end_y.
-
- Example:
- draw_vertical_line(0x101,0x102,0x103,20,3,20);
-
- This will draw line A at 20,3 to 20,20.
- B
- B
- ...
- B
- B
- C
- <CENTER>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- show_cursor()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Show_cursor() will display the IBM cursor.
-
- Example:
- show_cursor();
-
- This will display the blinking IBM cursor.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- hide_cursor()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Hide_cursor() turns the IBM cursor off.
-
- Example:
- hide_cursor();
-
- This will hide or turn of the IBM cursor display.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <PRINT><PAGE><NEW>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- move_cursor()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Move_cursor() will move the cursor in the current window. If
- the cursor is moved beyond the current window the function will
- fail and no move will be made.
-
- Example:
- move_cursor(3,10);
-
- This will position the cursor at window coordinates 3,10 in the
- current window.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- load_screen_form()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Load_screen_form loads a ready made form (mode with makefile)
- to the current window. The form will truncate beyond the inner
- window parameters. A record number and a file name are called for.
-
- Example:
- load_screen_form(0,"simptut.scr");
-
- This will load the simptut title screen into the current window
- <CENTER>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- read_text()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Read_text() will display a text file in the current window
- truncating or wrapping around with page up/dn. It will exit with
- ESC.
-
- Example:
- read_text("mou.doc",1);
-
- This will display the text of mou.doc page by page int the
- current window with wraparound.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- save_screen()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Save_screen() will save the current screen to screen save file
- at the designated record number.
-
- Example:
- save_screen(2);
-
- This saves the current screen to record number 2 in screen.dat.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <PRINT><PAGE><NEW>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- load_screen()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Load_screen() is the other half of screen save and works the
- same.
-
- Example:
-
- load_screen(2);
-
- This will load the screen record 2 from screen.dat and display
- it.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- save_screen_buff()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Save_screen_buff() saves the current screen to a ram buffer.
- It is for use with a mouse or when a fast screen display is
- needed.
-
- Example:
- save_screen_buff();
-
- This will save the current screen to ram.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- load_screen_buff()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Load_screen_buff() will display the save screen buffer.
-
- Example:
- load_screen_buff();
-
- This will display the screen in save screen buffer.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <PRINT><PAGE><NEW>
- Music Functions
- <READ><LINE><1><15><223>
- <PRINT><LINE><1><15><205>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- set_tempo()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Set_tempo() sets the speed or tempo of each note. The settings
- are in milli seconds.
-
- Example:
- set_tempo(1000);
-
- This sets the duration of a quarter note at 1 second.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- tone()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Tone sounds a single note. It takes the octave (0 thru 7
- Zero being no sound), the note (A thru Ab), and the size of
- the note (64,32,16,8,4,2,1). The fourth argument is a dummy
- for future use.
-
- Example:
- tone(3,Cs,4,0); (alternate tone(3,5,4,0);)
-
- This sounds the second octave above A55 with a C# quarter note.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- cord()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Cord() sounds a 4 or 6 note arpeggio cord. It takes the root
- note (A thru Ab), the duration of the cord (8,4,2,1), the cord
- (1 thru 12)(see defines), and the time signature (4/4 or 3/4).
-
- Example:
- cord(Cs,1,MINOR,3/4); (alternate cord(5,1,2,1);)
-
- This sounds a 6 note C# minor cord for one whole note.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- playsong()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Playsong() will play a song file (made with makefile) returning
- 0 if no key is struck before the end of the file or a 1 if a key
- is entered.
-
- Example:
- while(playsong("simptut.sng") == 0){}
-
- This will play simptut.sng tell a key is struck.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <PRINT><PAGE><NEW>
- <READ><LINE><1><74><205>
- Disk Functions
- <READ><LINE><1><14><223>
- <PRINT><LINE><1><14><205>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- read_file()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Read_file() reads a block of bytes from a file. Parameters are:
- buff for the bytes read, file path and name, block size in bytes
- (int), byte to start read (long int).
-
- Example:
- read(buff,"simptut.win",2000,4056L);
-
- This will read the first 2000 bytes of file simptut.win stating
- at byte 4056 into buff.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- write_file()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Write file is the same as read file only it writes buff into
- the file.
-
- Example:
- write_file(buff,"simptut.win",2000,4056L);
-
- This will write the contents of buff into the first 2000 bytes
- of the file simptut.win starting at byte 4056.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- file_to_file()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- File_to_file copies a block of bytes from one file to another.
- It takes a buffer the size of the block, a source file, its start
- byte, a destination file, its start byte, and the size of the
- block.
-
- Example:
- char buff[2000];
-
- file_to_file(buff,"simptut.win",4056L,"win.dat",0L,2000);
-
- This will copy the first 2000 bytes of simptut.win starting at
- byte 4056 to win.dat starting at 0 bytes.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- copy_file()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Copy file() copies one file to another. It takes the
- destination file and source file. If there is no destination file
- it will attempt to create one.
-
- Example:
- copy_file("simptut.win","win.dat");
-
- This will copy simptut.win to win.dat.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <PRINT><PAGE><NEW>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- creat_file()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Creat_file() will creat a file if one dose not exist. It takes
- the file name and path.
-
- Example:
- creat_file("win.dat");
-
- This will creat a file called win.dat if one dose not exist.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- read_directory()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Read_directory() reads the files in a directory an loads buff
- with their names. It takes the buffer, the number of names, and
- the full path/file name (*.text).
-
- Example:
- char buff[20][13];
-
- read_directory(buff,20,"*.text");
-
- This will read the current directory and load buff with the
- first 20 text files found. This can then be displayed for
- selection.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <PRINT><PAGE><NEW>
- <READ><LINE><1><74><205>
- Initialize Functions
- <READ><LINE><1><20><223>
- <PRINT><LINE><1><20><205>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- init_window()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Init_window() initiates the temp files and mallocs the
- buffering. It's parameters are the number of windows, menus, and
- screen saves, the drive to use (a ram disk can be used), and
- selects the LP port to use.
-
- Example:
- init_window(20,20,5,"D",1);
-
- This will init the utility to use 20 windows, 20 menus, 5
- screen saves, drive D, and LP port 1.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- uninit_window()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Uninit_window() will delete the temp files and free any
- malloced buffers.
-
- Example:
- uninit_window();
-
- This call frees malloc memory and removes the temp files.
- <PRINT><LINE><1><64><196>
- <CENTER>
- <PRINT><PAGE><NEW>
- <READ><LINE><1><74><205>
- Mouse Functions
- <PRINT><LINE><1><15><205>
- <READ><LINE><1><15><223>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- mouinstalled()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Mouinstalled() returns the number of buttons if the mouse driver
- is present or 0 if no driver found.
-
- Example:
-
- mouinstalled();
-
- This will check for mouse driver and return a the number of
- buttons if found.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- moureset()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Moureset() resets the mouse driver and should be used when
- mouinstalled finds a driver and when exiting the program.
-
- Example:
-
- moureset();
-
- This will reset the mouse driver.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- moubuttonpressed()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Moubuttonpressed() takes the number of the button that you want
- to check (0 LEFTBUTTON, 1 RIGHTBUTTON, 2 MIDBUTTON) and returns
- the number of times the button was pressed since last checked.
-
- Example:
-
- if(moubuttonpressed(0))
- {
- read_text("mouse.doc",0);
- }
-
- This will read the mouse docs if the LEFTBUTTON is pressed.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- mouhide()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Mouhide() hides the mouse cursor for text.
-
- Example:
-
- mouhide();
-
- The standard mouse cursor will be hidden.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <PRINT><PAGE><NEW>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- moushow()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Moushow() shows the mouse cursor and needs to be
- called after every a mouhide().
-
- Example:
-
- moushow();
-
- This will show the standard mouse cursor.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- mouposition()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Mouposition() returns the mouse position in the parameters *x,
- *y.
-
- Example:
-
- int x,y;
-
- mouposition(&x,&y);
-
- This will put the current mouse position in the ints x and y.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- moucursortype()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Moucursortype() selects the mouse cursor. 0 will select a
- reverse video block, any other is a character code 0 - 255.
- adding (0x80 << 8) to the character code will get the cursor to
- blink and (0x33 << 8) will reverse the video.
-
- Example:
- moucursortype(0x01 + (0x80 << 8));
-
- This will show a blinking happy face.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- mousetposition()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Mousetposition() puts the mouse cursor and mouse at the x, y
- coordinates int the parameters.
-
- Example:
-
- mousetposition(5,5);
-
- This will place the mouse at coordinates 5,5 on the screen.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <PRINT><PAGE><NEW>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- mousetmaxposition()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Mousetmaxposition() sets the mouse coordinates limits. It takes
- four parameters menx, maxx, meny, maxy.
-
- Example:
-
- mousetmaxposition(5,20,5,20);
-
- This will confine mouse movement to a window(5,5,20,20).
- <CENTER>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- moubuttonrelease()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Moubuttonrelease() takes the number of the button to check (0
- LEFTBUTTON, 1 RIGHTBUTTON, 2 MIDBUTTON) and returns the number of
- times that button was released since last checked.
-
- Example:
-
- for(;;)
- {
- if(moubuttonrelease(2))
- {
- break;
- }
- }
-
- This will remain in the loop until the MIDBUTTON is pressed
- and released.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- loadcurs()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Loadcurs() loads the graphic cursor. It takes the file name and
- an int 0 to 31.
-
- Example:
-
- loadcurs("cursor.fnt",3);
-
- This will load the forth character in the file cursor.fnt for
- use with mou_on and mou_off.
-
- <CENTER>
- <PRINT><LINE><1><64><196>
- <PRINT><PAGE><NEW>
- <PRINT><OFF>
- FONT EDIT 1.5
- <READ><LINE><1><13><223>
- <READ><LINE><1><74><205>
- <PRINT><HEADER><Font Edit 1.5>
- Management Functions
- <PRINT><LINE><1><20><205>
- <READ><LINE><1><20><223>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- load_font()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Load_font() loads a edited font in one of two banks for display
- on the screen. It takes the filename and which bank.
-
- Example:
-
- load_font("ibmstd.fnt",1);
-
- This loads the ibmstd font into the upper bank used in dual
- mode.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- enable_double_font()()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Enable_double_font() is used to turn the dual font mode on and
- off.
-
- Example:
-
- enable_double_font(ON);
-
- This turns the dual font mode on and the intensity bit (bit 3)
- of the video attribute byte choices the font bank.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- write_win_bank()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Write_win_bank() is the same as printf in formating but has the
- X and Y coordinates and bank select parameters added. Parameters
- are (bank,x,y,format,string_variable).
-
- Example:
-
- write_win_bank(1,20,5,"Simple Windows");
-
- This writes the string "Simple Windows" on the screen at
- coordinates 20 X, 5 Y in the current window with the high
- bank font in dual font mode.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <PRINT><PAGE><NEW>
- <READ><LINE><1><74><205>
- <PRINT><LINE><1><64><196>
- write_win_multi()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Write_win_multi() again is formated the same as printf() as
- all write_win functions in this library. It has a font select
- and X,Y coordinate parameters. Dual font mode must be on and
- both banks must be loaded with multi font fonts. These are made
- with makefont (see makefont.exe).
-
- Example:
-
- write_win_multi(3,20,5,"Simple Windows");
-
- This writes the string "Simple Windows" on the screen at
- coordinates 20 X, 5 Y in the current window with font
- number 3 of 4 multi fonts.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- load_emulate()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- This will load the emulator characters for the large fonts
- into the selected bank.
-
- Example:
-
- load_emulate(0);
-
- This loads the emulate characters into bank 0 (lower) at
- character position 0xc0 to 0xcf.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- write_win_multi_large()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- The same as write_win_large but the multi font version.
- The font is selected and placed at the specified coordinates.
-
- Example:
-
- write_win_multi_large(3,5,5,"Simply Soft");
-
- This displays font 3 large with the string "Simply Soft".
- <CENTER>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- set_palette()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- This is used to correct the text graphic palette color for
- dual font use. It places the selected DAC register color into
- the selected palette register. There or 16 (0 to 15) palettes
- and 64 (0 to 63) DAC colors.
-
- Example:
-
- set_palette(2,63);
-
- This places color 63 (white) into palette 2 (green).
- <CENTER>
- <PRINT><LINE><1><64><196>
- <PRINT><PAGE><NEW>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- toggle_blink()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- This will turn on or off the blink bit at the current cursor
- location.
-
- Example:
-
- toggle_blink(ON);
-
- This blinks the character at the current cursor location.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- toggle_intensity()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- This set the intensity bit to high or low at the current
- cursor location.
-
- Example:
-
- toggle_intensity(ON);
-
- This will make the character at the current cursor location
- display with high intensity or use the high bank in dual font
- mode.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- enable_reset()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Enable_reset() will enable or disable the palette reset with a
- video mode reset. 1 disables the reset and 0 (default) enables it.
-
- Example:
-
- enable_reset(1);
-
- This will disable the palette reset with a video mode reset so
- the colors in the palette will remain the same with a video
- change.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <PRINT><PAGE><NEW>
- <PRINT><LINE><1><64><196>
- write_win_large()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- This will display the same as write_win_bank with the large
- font characters. They are 4 characters wide and 8 characters
- tall so leave room. The bank select is the same as write_win
- bank but the X,Y coordinates are for the upper left corner
- of the text display.
-
- Example:
-
- write_win_large(1,5,2,"Simply Soft");
-
- This will display the string "Simply Soft" starting with
- the coordinates 5 X, 2 Y at the upper left corner in the
- current window emulating with the high bank font set.
- Load_emulate() must be called before using this call and the
- dual font mode must be on.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- init_multi_font()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Init_multi_font() will initialize the fonted libs for dual font
- mode. The two banks are loaded with fonts, the palette is set and
- the palette select is set. The palette argument takes a 16 byte
- string of unsigned characters and the two fonts are the path/file
- name of the fonts to be loaded. The palette select chooses the
- first 8 characters (0) or the last 8 characters (1) of the palette
- argument for the managed palette colors, loading both foreground
- and background colors the same for a managed palette. Also the
- large font emulate is loaded into the high bank.
-
- Example:
-
- unsigned char palette[16] = {0,1,2,3,4,5,20,7,
- 55,56,57,58,59,61,62,63};
-
- init_multi_font("font1.fnt","font2.fnt",palette,1);
-
- This will set up the dual mode font management using font1 and
- font2 with the the palette set for bright colors.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <PRINT><PAGE><NEW>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- uninit_multi_font()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Uninit_multi_font() will reset the fonts and palette for
- standard font mode with the IBM standard font.
-
- Example:
-
- uninit_multi_font();
-
- This will reset the palette and font and turn off the dual font
- mode.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- load_multi_pal()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Load_multi_pal() sets the palette to use ether the background
- colors (0) or the foreground colors (1) for both background and
- foreground color.
-
- Example:
-
- load_multi_pal(1);
-
- This will load the foreground colors into the background
- palette colors.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <PRINT><PAGE><NEW>
- <READ><LINE><1><74><205>
- Execute Functions
- <READ><LINE><1><17><223>
- <PRINT><LINE><1><17><205>
- <PRINT><LINE><1><64><196>
- loadfont.exe
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Loadfont loads a font file (*.fnt) into the selected bank.
-
- Example:
-
- system("loadfont script.fnt 1");
-
- This will load the script font into the high bank.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- dualon.exe
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Dualon.exe turns the dual font mode on and off.
-
- Example:
-
- system("dualon 1");
-
- This turns the dual font mode on.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- setpal.exe
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Used to correct color in dual font mode.
-
- Example:
-
- system("setpal 2 63");
-
- This set palette 2 (green) to 63 (white);
- <CENTER>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- makefont.exe
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- This is a utility to make multi fonts from standard fonts.
- the first two files are merged into a third for multi fonts.
-
- Example:
-
- makefont ibmstd.fnt script.fnt multi.fnt
-
- This merges the ibmstd font with the script font into a font
- called multi font.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <PRINT><PAGE><NEW>
- <PRINT><OFF>
- VGA EDIT 1.2
- <READ><LINE><1><12><223>
- <READ><LINE><1><74><205>
- <PRINT><HEADER><VGA Edit 1.2>
- Management Functions
- <READ><LINE><1><20><223>
- <PRINT><LINE><1><20><205>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- save_color_regs()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Save_color_regs() saves the DAC registers to a file. The only
- parameter is the file name. If the file dose not exist it will be
- created.
-
- Example:
-
- save_color_regs("TEST.DAC");
-
- This will save the current DAC register set to a file called
- TEST.DAC.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- load_color_regs()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Load_color_regs() will load the DAC registers from a file. It
- takes only one parameter the file name.
-
- Example:
-
- load_color_regs("TEST.DAC");
-
- This will load the DAC register set with the data in file
- TEST.DAC.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- read_color_reg()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Read_color_reg() reads a single DAC register. The parameters
- are a three byte color register and the DAC register number.
-
- Example
-
- char color[3];
-
- read_color_reg(color,34);
-
- This will read the DAC register number 34's color settings into
- the register color. Color[0] is, red color[1] is green, and
- color[2] is blue. DAC numbers are from 0 to 255.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <PRINT><PAGE><NEW>
- <PRINT><LINE><1><64><196>
- write_color_reg()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Write_color_reg() will load a single DAC register with new
- color settings. The parameters are a three byte color register
- and the DAC register number.
-
- Example:
-
- char color[3];
-
- write_color_reg(color,34);
-
- This will load the color settings in color to DAC register 34.
- Color[0] is red, color[1] is green, and color[2] is blue.
- Settings are from 0 to 63. DAC register numbers are from 0 to
- 255.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- save_palette()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Save_palette() saves the current palette settings to a file.
- The parameter is the file path and name.
-
- Example:
-
- save_palette("TEST.PAL");
-
- This will save the current palette to a file called TEST.PAL.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- load_palette()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Load_palette() will load a file with palette settings in to the
- palette. It's parameter is the file path and name.
-
- Example:
-
- load_palette("TEST.PAL");
-
- This loads the file TEST.PAL's data into the palette.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- write_palette()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Write_palette() loads a DAC register into the selected palette.
- The parameters are the DAC register number (0 to 63) and palette
- number (0 to 15).
-
- Example:
-
- write_palette(63,15);
-
- This loads DAC number 63 (C_WHITE) into palette 15 (WHITE).
- <CENTER>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <PRINT><PAGE><NEW>
- <PRINT><LINE><1><64><196>
- read_palette()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Read_palette() will read and return the selected palette color
- or DAC register number.
-
- Example:
-
- int color;
-
- color = read_palette(5);
-
- This will return the DAC register number in palette 5 (MAGENTA)
- to int color.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- vga_get_adapter()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Vga_get_adapter() will return the video adapter code for EGA
- (3), VGA (9), and all others (0).
-
- Example:
-
- int adapt;
-
- adapt = vga_get_adapter();
-
- This will return the adapter code into adapt.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- gray_color_reg()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Gray_color_reg() will gray scale a selected DAC register (0 to
- 255).
-
- Example:
-
- gray_color_reg(52);
-
- This will gray scale the color settings in DAC register 52.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- gray_color_regs()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Gray_color_regs() will gray scale all the DAC registers.
-
- Example:
-
- gray_color_regs();
-
- This will gray scale the color settings in all of the DAC
- registers. You should use save_color_regs() before this call
- for resetting the DAC registers.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <PRINT><PAGE><NEW>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- enable_reset()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Enable_reset() will enable (turn on and off) the default
- palette reset with a video mode change. 1 is disabled 0 (default)
- is enable.
-
- Example:
-
- enable_reset(1);
-
- This will disable or turn of the palette reset with a video
- change. This allows special palette settings to remain with a
- video mode change or reset.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- init_vgaedit()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Init_vgaedit() this will will save both the current palette
- and DAC registers to temp files for resetting at the end of the
- program.
-
- Example:
-
- init_vgaedit();
-
- This saves the palette and DAC.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- uninit_vgaedit()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Uninit_vgaedit() restores the palette and DAC registers saved
- by init_vgaedit() and removes the temp files.
-
- Example:
-
- uninit_vgaedit();
-
- This restores the palette and DAC.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <PRINT><PAGE><NEW>
- <READ><LINE><1><74><205>
- Execute Functions
- <PRINT><LINE><1><17><205>
- <READ><LINE><1><17><223>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- savedac.exe
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Savedac.exe has only one argument, the path and name of the
- file to save to. If the file dose not exist it will be created.
-
- Example:
-
- system("savedac test.dac");
-
- This will use a system call to save the current DAC registers
- to a file called TEST.DAC.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- loaddoc.exe
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Loaddac.exe will load the DAC registers with data from a
- chosen file.
-
- Example:
-
- system("loaddac test.dac");
-
- This will load the DAC registers with the color data in file
- test.dac.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- savepal.exe
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Savepal.exe will save the palette register data to a selected
- file.
-
- Example:
-
- system("savepal test.pal");
-
- This will save the palette data to the file TEST.PAL.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- loadpal.exe
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Loadpal.exe load the palette registers with data from a
- selected file.
-
- Example:
-
- system("loadpal test.pal");
-
- this uses a system call to load the palette from file test.pal.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <PRINT><PAGE><NEW>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- resetpal.exe.exe
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Resetpal.exe will enable or disable the default palette reset
- with a video mode change. 1 disables reset 0 enables reset.
-
- Example:
-
- system("resetpal 0");
-
- This will let the palette reset to default colors on a video
- mode change.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <PRINT><PAGE><NEW>
- <PRINT><OFF>
- <READ><LINE><1><74><205>
- SIMPLE MOUSE 2.3
- <READ><LINE><1><16><223>
- <READ><LINE><1><74><205>
- <PRINT><HEADER><Simple Mouse 2.3>
- Mouse Functions
- <PRINT><LINE><1><15><205>
- <READ><LINE><1><15><223>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- mouinstalled()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Mouinstalled() returns the number of buttons if the mouse driver
- is present or 0 if no driver found.
-
- Example:
-
- mouinstalled();
-
- This will check for mouse driver and return a the number of
- buttons if found.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- moubuttonpressed()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Moubuttonpressed() takes the number of the button that you want
- to check (0 LEFTBUTTON, 1 RIGHTBUTTON, 2 MIDBUTTON) and returns
- the number of times the button was pressed since last checked.
-
- Example:
-
- if(moubuttonpressed(0))
- {
- read_text("mouse.doc",0);
- }
-
- This will read the mouse docs if the LEFTBUTTON is pressed.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- mouposition()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Mouposition() returns the mouse position in the parameters *x,
- *y.
-
- Example:
-
- int x,y,changed;
-
- changed = mouposition(&x,&y);
-
- This will put the current mouse position in the ints x and y
- setting changed to 1 if coordinates have change since lasted
- checked.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <PRINT><PAGE><NEW>
- <PRINT><LINE><1><64><196>
- mouhide()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Mouhide() hides the mouse cursor for text.
-
- Example:
-
- mouhide();
-
- The standard mouse cursor will be hidden.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- moushow()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Moushow() shows the mouse cursor and needs to be
- called after every a mouhide().
-
- Example:
-
- moushow();
-
- This will show the standard mouse cursor.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- moucursortype()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Moucursortype() selects the mouse cursor (1 to 32).
-
- Example:
- moucursortype(2);
-
- This will show second cursor character loaded by loadcurs().
- <CENTER>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- mousetposition()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Mousetposition() puts the mouse cursor and mouse at the x, y
- coordinates int the parameters.
-
- Example:
-
- mousetposition(5,5);
-
- This will place the mouse at coordinates 5,5 on the screen.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- moureset()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Moureset() resets the mouse driver and should be used when
- mouinstalled finds a driver and when exiting the program.
-
- Example:
-
- moureset();
-
- This will reset the mouse driver.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <PRINT><PAGE><NEW>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- mousetmaxposition()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Mousetmaxposition() sets the mouse coordinate limits. It takes
- four parameters menx, maxx, meny, maxy.
-
- Example:
-
- mousetmaxposition(5,20,5,20);
-
- This will confine mouse movement to a window(5,5,20,20).
- <CENTER>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- moubuttonrelease()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Moubuttonrelease() takes the number of the button to check (0
- LEFTBUTTON, 1 RIGHTBUTTON, 2 MIDBUTTON) and returns the number of
- times that button was released since last checked.
-
- Example:
-
- for(;;)
- {
- if(moubuttonrelease(2))
- {
- break;
- }
- }
-
- This will remain in the loop until the MIDBUTTON is pressed
- and released.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- loadcurs()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Loadcurs() loads the graphic cursor. It takes the file name of
- the mouse cursor fonts.
-
- Example:
-
- loadcurs("moucurs.fnt");
-
- This will load file moucurs.fnt for use with moushow() and
- mouhide().
- <CENTER>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- mouinit()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Mouinit() allocates memory for mouse functions for
- normal or dual font mode.
-
- Example:
-
- mouinit();
-
- This will allocate memory for mouse.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <PRINT><LINE><1><64><196>
- mouuninit()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Mouuninit() frees allocated memory.
-
- Example:
-
- mouuninit();
-
- This frees mouses allocated memory
- <CENTER>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- moupositiopix()
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <LEFT>
- Mousepositionpix() check the current mouse coordinates in
- pixel and returns 1 if there is a change since lasted checked.
-
- Example:
-
- int changed,pix_x,pix_y;
-
- changed = moupositionpix(&pix_x,&pix_y);
-
- This will place the current pixel coordinates in pix_x and
- pix_y. If the coordinates have changed since lasted checked
- it will set changed to 1.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><205>
- <PRINT><PAGE><NEW>
- <PRINT><HEADER><Legal Stuff>
- LEGAL STUFF
- <READ><LINE><1><11><223>
- <PRINT><LINE><1><11><205>
- DEFINITION OF SHAREWARE
- <PRINT><LINE><1><23><205>
- <READ><LINE><1><23><223>
- <LEFT>
-
- Shareware distribution gives users a chance to try software
- before buying it. If you try a Shareware program and continue
- using it, you are expected to register. Individual programs
- differ on details -- some request registration while others
- require it, some specify a maximum trial period. With
- registration, you get anything from the simple right to
- continue using the software to an updated program with printed
- manual.
-
- Copyright laws apply to both Shareware and commercial
- software, and the copyright holder retains all rights, with a
- few specific exceptions as stated below. Shareware authors are
- accomplished programmers, just like commercial authors, and the
- programs are of comparable quality. (In both cases, there are
- good programs and bad ones!) The main difference is in the
- method of distribution. The author specifically grants the
- right to copy and distribute the software, either to all and
- sundry or to a specific group. For example, some authors
- require written permission before a commercial disk vendor may
- copy their Shareware.
-
- Shareware is a distribution method, not a type of software.
- You should find software that suits your needs and pocketbook,
- whether it's commercial or Shareware. The Shareware system
- makes fitting your needs easier, because you can try before you
- buy. And because the overhead is low, prices are low also.
- Shareware has the ultimate money-back guarantee -- if you don't
- use the product, you don't pay for it.
-
- PLEASE! Show your support for Shareware by registering the
- programs you actually use. Simpsoft Inc. depends upon and
- needs your support. Thank you!
-
-
- <CENTER>
- <PRINT><LINE><1><64><42>
- <READ><LINE><1><74><219>
- <LEFT>
- This file contains important license information regarding the
- use of Full Pack, Version 1.1. This information applies
- to individual users who wish to pass copies out to friends and
- associates.
- <CENTER>
- <PRINT><LINE><1><64><42>
- <READ><LINE><1><74><219>
- <LEFT>
-
- Trial Use License:
- ~~~~~~~~~~~~~~~~~~
- Full Pack is NOT a public domain program. It is Copyright
- (c) 1994, 1995, 1996 by Bruce O'Banion. All rights reserved.
- This software and accompanying documentation are protected by
- United States Copyright law and also by International Treaty
- provisions. Any use of this software in violation of
- Copyright law or the terms of this limited license will be
- prosecuted to the best of our ability. The conditions under
- which you may copy this software and documentation are clearly
- outlined below under "Distribution Restrictions".
-
- Bruce O'Banion hereby grants you a limited license to use this
- software for evaluation purposes for a period not to exceed
- Thirty (30) days. If you intend to continue using this
- software (and/or it's documentation) after the Thirty (30) day
- evaluation period, you MUST make a registration payment to
- Bruce R. O'Banion.
-
- - Full Pack, Version 1.1 - LICENSE.DOC -
-
-
- Using this software after the thirty (30) day evaluation
- period without registering the software is a violation of the
- terms of this limited license.
-
- Licensee shall not use, copy, rent, lease, sell, modify,
- decompile, disassemble, otherwise reverse engineer, or
- transfer the licensed program except as provided in this
- agreement. Any such unauthorized use shall result in
- immediate and automatic termination of this license.
-
- All rights not expressly granted here are reserved to Simply
- Soft.
-
-
- Limited Distribution License:
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- As the copyright holder for Full Pack, Bruce R. O'Banion
- authorizes distribution by individuals only in accordance with
- the following restrictions.
-
- Individuals are hereby granted permission by Bruce R. O'Banion
- to copy the Full Pack diskette for their own use (for
- evaluation purposes) or for other individuals to evaluate,
- ONLY when the following conditions are met.
-
- The Full Pack package is defined as containing all the
- material listed in the PACKING.LST text file. If any files
- listed in the PACKING.LST text file, or the PACKING.LST file
- itself, are missing, then the package is not complete and
- distribution is forbidden. Please contact us to obtain a
- complete package suitable for distribution.
-
- o The Full Pack package - including all related program
- files and documentation files - CANNOT be modified in any
- way and must be distributed as a complete package, without
- exception. The PACKING.LST text file contains a list of
- all files that are part of the Full Pack package.
-
- o No price or other compensation may be charged for the
- Full Pack package. A distribution cost may be
- charged for the cost of the diskette, shipping and
- handling, as long as the total (per disk) does not exceed
- US$15.00 in the U.S. and Canada, or US$20.00
- internationally.
-
- o The Full Pack package CANNOT be sold as part of some
- other inclusive package. Nor can it be included in any
- commercial software packaging offer, without a written
- agreement from Bruce R. O'Banion.
-
- o The User's Guide may not be reproduced in whole or
- in part, using any means, without the written permission
- of Bruce R. O'Banion. In other words, the disk-based
- documentation may not be distributed in PRINTED (hardcopy)
- form.
-
- o The Full Pack package cannot be "rented" or "leased"
- to others.
-
- o Licensee shall not use, copy, rent, lease, sell, modify,
- decompile, disassemble, otherwise reverse engineer, or
- transfer the licensed program except as provided in this
- agreement. Any such unauthorized use shall result in
- immediate and automatic termination of this license.
-
- All rights not expressly granted here are reserved to Bruce R.
- O'Banion
-
- <CENTER>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><196>
- Distribution Requirements VENDORS
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><196>
- <LEFT>
-
- Computer Clubs and User Groups wishing to add the Simple
- Windows package to their disk library may do so in accordance
- with the Distribution Restrictions listed below.
-
- Limited Distribution License:
- -----------------------------
-
- As the exclusive copyright holder for Full Pack, Bruce R.
- O'Banion authorizes distribution only in accordance with the
- following restrictions.
-
- ASP Approved Vendors in good standing are hereby given
- permission to distribute Full Pack package. Non-ASP
- member vendors are requested to ask permission prior to
- distributing this package.
-
- The Full Pack package is defined as containing all the
- material listed in the PACKING.LST text file. If any files
- listed in the PACKING.LST text file, or the PACKING.LST file
- itself, are missing, then the package is not complete and
- distribution is forbidden. Please contact us to obtain a
- complete package suitable for distribution.
-
- The Full Pack package - including all related program
- files and documentation files - CANNOT be modified in any way
- and must be distributed as a complete package, without
- exception. The PACKING.LST text file contains a list of all
- files that are part of the Full Pack package.
-
- Small additions to the package, such as the introductory used
- by many shareware disk vendors, are acceptable.
-
- No price or other compensation may be charged for the Simple
- Windows package. A distribution fee may be charged for the
- cost of the diskette, shipping and handling, as long as the
- total (per disk) does not exceed US$15.00 in the U.S. and
- Canada, or US$20.00 internationally.
-
- Disk Sets & CD-ROMs:
- ~~~~~~~~~~~~~~~~~~~~
- The Full Pack package CANNOT be sold as part of some other
- inclusive package. Nor can it be included in any commercial
- software packaging offer, without a written agreement from
- Bruce R. O'Banion.
-
- ASP Approved Vendors who wish to distribute the Full Pack
- package as part of a collection (such as PsL's MegaDisk set,
- or a CD-ROM package) may do so provided that all the other
- restrictions are met.
-
- Vendors (non-ASP Vendor Members) who wish to distribute the
- Full Pack package as part of a collection (such as PsL's
- MegaDisk set, or a CD-ROM package) are ask to obtain
- permission from Bruce R. O'Banion prior to beginning such a
- distribution.
-
- If you wish to add any of our programs to a CD-ROM or other
- collection, please check the release date of the version you
- have. If the version is over twelve (12) months old then
- please contact us to ensure that you have the most current
- version. This version was released in July,1998.
-
- Disk-of-the-Month (or Subscription) Distribution:
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- If you would like to distribute the Full Pack package as
- a Disk-of-the-Month, or as part of a subscription or monthly
- service, then the following restrictions apply:
-
- ASP Associate (Disk Vendor) Members in good standing are
- hereby given permission to distribute the Full Pack package
- under the Disk-of-the-Month style of distribution.
-
- Others (non-ASP Members) are asked to contact us in advance to
- ensure that you have the most current version of the software.
-
- You cannot use a Disk-of-the-Month distribution to use up your
- inventory of old (out of date) disks. Only current versions
- may be shipped as Disk-of-the-Month disks.
-
- The User's Guide may not be reproduced in whole or in part,
- using any means, without the written permission of Bruce R.
- O'Banion. In other words, the disk-based documentation may
- not be distributed in PRINTED (hardcopy) form.
-
- The Full Pack package cannot be "rented" or "leased" to
- others.
-
- You may not list any of our products in advertisements,
- catalogs, or other literature which describes our products as
- "FREE SOFTWARE". Shareware is "Try-Before-You-Buy" software,
- it is not free.
-
- Bruce R. O'Banion prohibits the distribution of outdated
- versions of the Full Pack package, without written
- permission from Bruce R. O'Banion. If the version you have is
- over twelve (12) months old, please contact us to ensure that
- you have the most current version. This version was released
- in July, 1998.
-
- Licensee shall not use, copy, rent, lease, sell, modify,
- decompile, disassemble, otherwise reverse engineer, or
- transfer the licensed program except as provided in this
- agreement. Any such unauthorized use shall result in
- immediate and automatic termination of this license.
-
- All rights not expressly granted here are reserved to Bruce R.
- O'Banion.
- <CENTER>
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><196>
- Distribution Requirements: SYSOPS
- <PRINT><LINE><1><64><196>
- <READ><LINE><1><74><196>
- <LEFT>
-
- Limited Distribution License:
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- As the exclusive copyright holder for Full Pack, Bruce R.
- O'Banion authorizes on-line distribution only in accordance
- with the following restrictions.
-
- The Full Pack package is defined as containing all the
- material listed in the PACKING.LST text file. If any files
- listed in the PACKING.LST text file, or the PACKING.LST file
- itself, are missing, then the package is not complete and
- distribution is forbidden. Please contact us to obtain a
- complete package suitable for distribution.
-
- o The Full Pack package - including all related program
- files and documentation files - CANNOT be modified in any
- way (other than that mentioned in the following paragraph)
- and must be distributed as a complete package, without
- exception. The PACKING.LST text file contains a list of
- all files that are part of the Full Pack package.
-
- o Many BBSs customarily add a small text file
- (advertisement) to each archived file. This text file
- describes the BBS and tells people that the file was
- downloaded from that particular BBS. Other BBSs add a
- small one-line message with their BBS name and phone
- number into the compressed file, which will display when
- the file is uncompressed. Either of these methods of
- mentioning your BBS are acceptable and may be used,
- provided the program and documentation is otherwise
- unmodified and complete.
-
- o Bruce R. O'Banion prohibits the distribution of outdated
- versions of the Full Pack package, without written
- permission from Bruce R. O'Banion. If the version you
- have obtained is over twelve (12) months old, please
- contact us to ensure that you have the most current
- version.
-
- o Licensee shall not use, copy, rent, lease, sell, modify,
- decompile, disassemble, otherwise reverse engineer, or
- transfer the licensed program except as provided in this
- agreement. Any such unauthorized use shall result in
- immediate and automatic termination of this license.
-
-
- All rights not expressly granted here are reserved to Bruce R.
- O'Banion
- <CENTER>
- ***** IMPORTANT WARRANTY INFORMATION *****
-
- Full Pack, Version 1.1
-
- *** PLEASE READ THIS INFORMATION CAREFULLY ***
- <PRINT><LINE><1><46><205>
- <READ><LINE><1><46><223>
-
- TRIAL USE (SHAREWARE EVALUATION VERSION) WARRANTY
- <PRINT><LINE><1><49><205>
- <READ><LINE><1><49><205>
- <LEFT>
-
- The Shareware evaluation (trial use) version is provided AS IS.
- Bruce R. O'Banion MAKES NO WARRANTY OF ANY KIND, EXPRESSED OR
- IMPLIED, INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF
- MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
-
-
- <CENTER>
- REGISTERED VERSION ONLY WARRANTY:
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- <LEFT>
-
- Bruce R. O'Banion warrants the physical diskette(s) and
- physical documentation provided with registered versions to be
- free of defects in materials and workmanship for a period of
- ninety days from the date of registration. If Bruce R.
- O'Banion receives notification within the warranty period of
- defects in materials or workmanship, and such notification is
- determined by Simpsoft Inc. to be correct, Bruce R. O'Banion
- will replace the defective diskette(s) or documentation.
-
- The entire and exclusive liability and remedy for breach of
- this Limited Warranty shall be limited to replacement of
- defective diskette(s) or documentation and shall not include or
- extend to any claim for or right to recover any other damages,
- including but not limited to, loss of profit, data, or use of
- the software or special, incidental, or consequential damages
- or other similar claims, even if Bruce R. O'Banion has been
- specifically advised of the possibility of such damages. In no
- event will Bruce R. O'Banion's liability for any damages to you
- or any other person ever exceed the lower of suggested list
- price or actual price paid for the license to use the software,
- regardless of any form of the claim.
-
- Bruce R. O'Banion SPECIFICALLY DISCLAIMS ALL OTHER WARRANTIES,
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO, ANY IMPLIED
- WARRANTY OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR
- PURPOSE.
- <CENTER>
- <PRINT><LINE><1><64><42>
- <READ><LINE><1><74><219>
- Registered Limited Licensing Agreement
- <LEFT>
-
- You may use this software on any computer, as long as only one
- person uses it at a time. If several people use the software at
- the same time, you must pay one license fee for each additional
- person. If you use the software on a computer network, you must
- pay for as many licenses as the number of people who use the
- software.
- This software is protected by international copyright laws.
- You may copy it only for backup purposes. Simpsoft Inc. is
- licensing the software to you and not selling it.
- Neither you or any reseller may rent, lease,sell licensed
- copies on approval,or otherwise transfer the right to use this
- software to another person, except that you may sell or give away
- your original copy, as long as you do not keep any copies.
- You are free to resell, license, and or give away any
- executebles you make with the libaraies or any files you make with
- the editors. Certain executebles specificly for use in system or
- child calls that are include in the software package my also be
- include with your programs for resale, licensing, and or give
- away.
- <CENTER>
- <PRINT><LINE><1><64><42>
- <READ><LINE><1><74><220>
- ASP OMBUDSMAN STATEMENT
- <LEFT>
-
- "This program is produced by a member of the Association
- of Shareware Professionals (ASP). ASP wants to make sure
- that the shareware principle works for you. If you are
- unable to resolve a shareware-related problem with an ASP
- member by contacting the member directly, ASP may be able
- to help. The ASP Ombudsman can help you resolve a dispute
- or problem with an ASP member, but does not provide
- technical support for members' products. Please write to
- the ASP Ombudsman at 157-F Love Ave., Greenwood, IN 46142
- USA, FAX 317-888-2195, or send email to omb@asp-shareware.org
- <CENTER>
- <PRINT><LINE><1><64><42>
- <READ><LINE><1><74><220>
- <LEFT>
- NOTE: fulpac11.zip is packaged on this disk using
- Info-ZIP's compression utility. The installation program
- uses UnZip to read zip files from the disk. Info-ZIP's
- software (Zip, UnZip and related utilities) is free and
- can be obtained as source code or executables from
- various bulletin board services and anonymous-ftp sites,
- including CompuServe's IBMPRO forum and ftp.uu.net:/pub/
- archiving/zip/*.
- <CENTER>
- <PRINT><LINE><1><64><42>
- <READ><LINE><1><74><223>
- <LEFT>
- U.S. Government Information: Use, duplication, or
- disclosure by the U.S. Government of the computer software
- and documentation in this package shall be subject to the
- restricted rights applicable to commercial computer
- software as set forth in subdivision (b)(3)(ii) of the
- Rights in Technical Data and Computer Software clause at
- 252.227-7013 (DFARS 52.227-7013). The
- Contractor/manufacturer is Simpsoft Inc. part of Simpsoft Inc.
- 318 Oak St. Modesto,CA 95351
- <CENTER>
- <PRINT><LINE><1><64><42>
- <READ><LINE><1><74><42>
- Please Help Us Serve You Better
- <PRINT><LINE><1><31><196>
- <READ><LINE><1><31><205>
- <LEFT>
-
- We would appreciate copies of anything you print regarding
- Full Pack. Please send us a copy of any reviews,
- articles, catalog descriptions, or other information you print
- or distribute regarding the Full Pack package. Thank you
- for your time and assistance and for supporting the shareware
- marketing concept.
-
- Please refer to FULLPACK.DOC for our mailing address and phone
- number.
-
- Thank you for your support!
- <CENTER>
- <PRINT><LINE><1><64><42>
- <READ><LINE><1><74><42>
- TURBO C++ 1.0 copyright 1990 Borland International
- TURBO C 2.0 copyright 1987,1988 Borland International
- MS_DOS 5.0 copyright 1987-1991 Microsoft Corp.
- INFO-ZIP Copyright (C) 1990-1996 Mark Adler,
- Richard B. Wales, Jean-loup Gailly, Onno van der Linden,
- Kai Uwe Rommel, Igor Mandrichenko, John Bush and Paul Kienitz.
- Permission is granted to any individual or institution to use,
- copy, or redistribute this software so long as all of the
- original files are included, that it is not sold for profit,
- and that this copyright notice is retained.
- Thanks to Dave Kirsch for the map access code from
- MOU105 Copyright (C) 1990, 1991 by Dave Kirsch.
- Sharespell v3.1 copyright 1989-96 by Acropolis Software.
- <PRINT><LINE><1><64><42>
- <READ><LINE><1><74><42>
- <PRINT><PAGE><NEW>
- <PRINT><HEADER><Registration>
- <CENTER>
- <READ><OFF>
- Registration Full Pack 1.1
- <LEFT>
- Registration gets you phone support for one year, extra executes
- and your registration fee goes toward future upgrades. Print the
- following form and send it to:
-
- Bruce R. O'Banion
- RT 1 Box 148A
- Pauls Valley,OK 73075
-
- Or call me at : 405-665-4042 or 405-665-4047
- Also be sure to include a check or money order. NO CASH PLEASE!
- I will fill the order as soon as the check clears. Make checks
- payable to name and address above.
- -------------------------------------------------------
-
- Name: _________________________________________________
- Address:
- ______________________________________________
- ______________________________________________
- ______________________________________________
- Phone : ____________________________
-
- --------------------------------------------------------
- Type of machine: ____________________ (only IBM/PC DOS
- Type of disk 3 1/2 hi and compatible
- (circle one) 5 1/4 hi
- 5 1/4 low
- ________________________________________________________
- Price
- Product Quant. Each Total
- --------------------------------------------------------
- Font Edit v1.6 .............. _____ $25 ________
- Simple Windows v1.8 ......... _____ $50 ________
- VGA Edit v1.4 ............... _____ $25 ________
- Simple Pack v1.2 ............ _____ $25 ________
- Simple Mouse v2.4 ........... _____ $25 ________
- Full Pack v1.1 .............. _____ $100 ________
- --------------------------------------------------------
- Subtotal _____ ________
- $3.00 (s/h) per disk (max $50.00) ________
- --------------------------------------------------------
- Total amount enclosed: ________
-
-
- Sign here _________________________
-
-
- <CENTER>
- Don't forget to circle A disk type!
- <PRINT><LINE><1><35><205>
- <END>
-